package com.tjetc.service;

import com.github.pagehelper.PageInfo;
import com.tjetc.domain.Clinic;
import com.tjetc.vo.Result;

public interface ClinicService{


    int deleteByPrimaryKey(Integer id);

    int insert(Clinic record);

    int insertSelective(Clinic record);

    Clinic selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Clinic record);

    int updateByPrimaryKey(Clinic record);

    Result findByName(Integer hid, String name);

    Result getClinicInfo(Integer cid);

    Result getClinicById(Integer id);

    Result getAll(Integer hid);

    PageInfo<Clinic> selAllname(String name, Integer curPage, Integer pageSize,Integer hid);

    Integer delById(Integer id);

    Integer update(Clinic clinic);

    Integer add(Clinic clinic);
}
